<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  </head>
  <body>
    <script type="text/javascript" src="../../d3.v2.js"></script>
    <script type="text/javascript">

var div = d3.select("body").selectAll("div")
    .data(["a", "b", "f"])
  .enter().append("div")
    .text(String);

var div = d3.select("body").selectAll("div")
    .data(["a", "b", "c", "d", "e", "f"], String);

div.enter().append("div")
    .text(String);

div.order();

    </script>
  </body>
</html>
